﻿<div id="footer">
			<table class="footbar" width="960" cellspacing="0" cellpadding="0" border="0">
			<tr>
			<td class="textwhite" align="center">
			<a href="/Raovat">Trang chủ</a>
			&nbsp;-&nbsp;
			<?php
				$datatype=$this->requestAction(array("controller"=>"types","action"=>"select")); 
				if($datatype==NULL){
					echo "<h2>Data Empty</h2>";
				}
				else{
					foreach($datatype as $item){
						echo "<a title=\"".$item['Type']['tenloai']."\" href=\"/Raovat/types/view/".$item['Type']['id']."\">".$item['Type']['tenloai']."</a>";
						echo "&nbsp;-&nbsp;";
					}
				}
			?>
			<a rel="nofollow" href="http://www.raovatdanang.vn/member.php?self=guest&mode=add">Đăng tin</a>
			&nbsp;-&nbsp;
			<a rel="nofollow" href="http://www.raovatdanang.vn/member.php?self=login">Đăng nhập</a>
			&nbsp;-&nbsp;
			<a rel="nofollow" href="http://www.raovatdanang.vn/member.php?self=register">Đăng ký</a>
			&nbsp;-&nbsp;
			<a title="Trung tâm trợ giúp" rel="nofollow" href="http://www.raovatdanang.vn/help.php">Trợ giúp</a>
			&nbsp;-&nbsp;
			<a title="Sitemap" rel="nofollow" href="http://www.raovatdanang.vn/sitemap.html">Sitemap</a>
			&nbsp;-&nbsp;
			<a rel="nofollow" href="http://www.raovatdanang.vn/help.php?self=contact">Liên hệ</a>
			</td>
			</tr>
			<tr>
			<td class="copyrightbars" align="center">
			Copyright &copy; 2011.
			<a href="/Raovat">
			<b>www.raovat.com</b>
			</a>
			</td>
			</tr>
			<tr>
			<td class="footbar_tools">
			<div align="center">
			<a target="_blank" href="http://www.raovatdanang.vn/help.php?self=detail&id=1">Quy định đăng tin</a>
			&nbsp;|&nbsp;
			<a target="_blank" href="http://www.raovatdanang.vn/help.php?self=detail&id=2">Quy chế thành viên</a>
			</div>
			</td>
			</tr>
			<tr>
			<td class="footbar_tools">
			<p class="style1" align="center">Xem tốt nhất trên Internet Explorer với độ phân giải 1024 x 768</p>
			</td>
			</tr>
			</table>
	
	</div>